package codex

type Code int

const (
	Success       Code = 10000 // 成功
	ParamError    Code = 10001 // 参数错误
	NotFoundError Code = 10002 // not found

	NeedLoginError  Code = 10100
	PermissionError Code = 10101

	DbError    Code = 10200 // 数据库错误
	RedisError Code = 10201 // redis错误
	KafkaError Code = 10202 // kafka错误
	EsError    Code = 10204 // es错误
	EctdError  Code = 10205 // etcd错误
)
